/**
 * Created by alan on 2017/5/5.
 * 角色管理
 */
Ext.define("Admin.store.sys.Role", {
    extend: "Ext.data.Store",

    alias: "store.role",

    model: "Admin.model.sys.Role",
    pageSize: 20,
    proxy: {
        type: "ajax",
        url: config.URL + "szy/sys/role/list",
        extraParams: { river: config.RIVER },
        reader: {
            type: 'json',
            rootProperty: 'list',
            totalProperty: 'count'
        }
    },
    autoLoad: true,
    autoSync: true,
})